package com.aj.dao;

import com.aj.pojo.Member;
import com.github.pagehelper.Page;

import java.util.Date;
import java.util.List;
import java.util.Map;


public interface MemberDao {
    Member findMemberByTelephone(String telephone);

    void addMember(Member member);

    Integer findMemberCountByMonth(String m);

    Integer findMemberCountByDate(String today);

    Integer findMemberTotalCount();

    Integer findMemberCountAfterDate(String thisWeekMonday);

    Integer getMemberCountByDate(String s);

    void addtoMember(Member member);

    List<Date> getAge();

    List<Map<String,Object>> findMemberSexCount();

    Member findById(Integer id);

    void update(Member member);

    Page<Member> findPage(String queryString);

    void delete(Integer id);
}
